home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
watchman.lha
/
watchman
/
watchman.doc
< prev
Wrap
Text File
|
1993-05-31
|
2KB
|
92 lines
NAME
watchman - guards against unwanted deletes. (V37.1)
SYNOPSIS
watchman pattern1 [pattern2 [pattern3 [...]]]
FUNCTION
To sit around waiting for programs to call DeleteFile()
and then inform the user of the program that wishes
to delete and the file that is trying to be deleted.
If run twice the second invocation will cause the
first to quit, also a CTRL-C will cause an exit.
COMMAND LINE INPUTS
pattern - an AmigaDos pattern to protect.
watchman takes any number of patterns as arguments.
INTERACTIVE INPUTS
DELETE - tell watchmen to go ahead and allow the deletion.
REFUSE - refuse the delete by telling that the file is delete
protected (with something like ``delete #?.c'' this
will only skip the file in question.
FAIL - refuse the delete by telling that the entire disk is
write protected. This has the effect of most
programs not trying to delete further (as is the case
with ``delete #?.c''
RESULT
a friendly (but slightly haughty) guard to protect you.
EXAMPLE
to protect your development files, you could use this:
watchman #?.c #?.h #?.a #?.m #?.def
NOTES
watchman patches the Dos library function DeleteFile().
HISTORY
V37.1 - Created.
DISCLAIMER
This programs main purpose is to protect against unwanted or
mistaken deletions it works well for me but it *is* dealing with
deletions and all errors cannot be anticipated. Therefore, I
claim no responsibility for the destruction, instruction or
any othertion of anything this program may cause or allow as a
result of, but not limited to, its use.
COPYRIGHT
This program watchman and its documentation are:
Copyright © 1993 Christian E. Hopps. All Rights Reserved.
Distribution rights of this version (37.1) are granted to the
following people, services, and groups (i.e. User groups):
- Fred Fish for the Fred Fish disk collection.
- The Internet as a whole.
- Bix.
- Compuserve.
- Genie.
- and any person or group not earning a profit from
its distribution.
The right to distribute is only granted to the package as a whole,
this includes the binary and documentation file.
Freeware is a nice concept so don't abuse it.
BUGS
none known
SEE ALSO
Me: Christian E. Hopps
bix: chopps@bix.com
home: chopps@ro-chp (sycom.mi.org!ro-chp!chopps)
school: chopps@emunix.emich.edu (will only be valid through 1/95)